PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

Remote Call Context Option Constants

When making a remote call to an application-defined function using MPRemoteCall , you must pass a constant of type MPRemoteContext in the context parameter specifying which contexts are allowed to execute the function.

enum {
    kMPAnyRemoteContext             = 0,
    kMPOwningProcessRemoteContext   = 1
};
typedef UInt8 MPRemoteContext;

Constant Descriptions

kMPAnyRemoteContext
Any cooperative context can execute the function. Note that the called function may not have access to any of the owning context's process-specific low-memory values.
kMPOwningProcessRemoteContext
Only the context that owns the task can execute the function.
VERSION NOTES

Introduced with Multiprocessing Services 2.0.


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)